export default {
  namespaced: true,
  state() {
    return {
      token: '',
      userInfo: {}
    }
  },
  mutations: {
    updataToken(state, token) {
      state.token = token
    },
    updataUser(state, username) {
      state.username = username
    },
    updataUserInfo(state, userInfo) {
      state.userInfo = userInfo
    }
  },
  actions: {
  }
}
